package com.example.yin.dao;

import com.example.yin.domain.Forum;
import com.example.yin.vo.ForumVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author music
 * @since 2023-06-21
 */
@Repository
public interface ForumMapper{

    int deleteForum(Integer id);

    int insert(Forum record);

    int updateForum(Forum record);

    List<ForumVO> allForum();


}
